package com.ruoyi.tongban.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家长-孩子关联对象 usr_parental_child
 * 
 * @author ruoyi
 * @date 2021-08-02
 */
public class UsrParentalChild extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家长孩子关系id */
    private Long parentalChildId;

    /** 家长id */
    @Excel(name = "家长id")
    private Long memberId;

    /** 孩子id */
    @Excel(name = "孩子id")
    private Long childId;

    /** 家长角色类型 */
    @Excel(name = "家长角色类型")
    private Long parentRole;

    /** 家庭组id,对应家庭组表usr_family中family_id字段 */
    @Excel(name = "家庭组id,对应家庭组表usr_family中family_id字段")
    private Long familyId;

    /** 家长角色名称 */
    @Excel(name = "家长角色名称")
    private String parentRoleName;

    /** 关系状态;对应字典表sys_dictionary中的Status类型 */
    @Excel(name = "关系状态;对应字典表sys_dictionary中的Status类型")
    private Integer status;

    /** $column.columnComment */
    @Excel(name = "关系状态;对应字典表sys_dictionary中的Status类型")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "关系状态;对应字典表sys_dictionary中的Status类型")
    private Long updateUser;

    public void setParentalChildId(Long parentalChildId) 
    {
        this.parentalChildId = parentalChildId;
    }

    public Long getParentalChildId() 
    {
        return parentalChildId;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setChildId(Long childId) 
    {
        this.childId = childId;
    }

    public Long getChildId() 
    {
        return childId;
    }
    public void setParentRole(Long parentRole) 
    {
        this.parentRole = parentRole;
    }

    public Long getParentRole() 
    {
        return parentRole;
    }
    public void setFamilyId(Long familyId) 
    {
        this.familyId = familyId;
    }

    public Long getFamilyId() 
    {
        return familyId;
    }
    public void setParentRoleName(String parentRoleName) 
    {
        this.parentRoleName = parentRoleName;
    }

    public String getParentRoleName() 
    {
        return parentRoleName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("parentalChildId", getParentalChildId())
            .append("memberId", getMemberId())
            .append("childId", getChildId())
            .append("parentRole", getParentRole())
            .append("familyId", getFamilyId())
            .append("parentRoleName", getParentRoleName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
